package com.ecar.core.order.dao;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.order.entity.OrderPriceDetail;

public interface OrderPriceDetailMapper extends MybatisMapper {
    int deleteByPrimaryKey(String id);

    int insert(OrderPriceDetail record);

    int insertSelective(OrderPriceDetail record);

    OrderPriceDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderPriceDetail record);
    
    int updateByOrderNumSelective(OrderPriceDetail record);

    int updateByPrimaryKey(OrderPriceDetail record);
    
    OrderPriceDetail selectByOrderNum(String orderNum);
    
    Double queryBlance(String driverId);
    
    int deleteByOrderNumAndIsSuccess(String orderNum,int success );
    
    int deleteByOrderNum(String orderNum);
}